<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "" "">
<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:w="http://www.apusic.com/jsf/widget" xmlns:layout="http://www.apusic.com/jsf/layout"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:ajax="http://www.apusic.com/jsf/ajax"
	renderKitId="AJAX">
	<w:head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<w:stylesheet src="/css/kmp4.css" type="text/css"></w:stylesheet>
		<w:script src="/javascript/k4.js" type="text/javascript" language="UTF-8"></w:script>
	</w:head>
	<w:page title="编辑配置项类型">
	 <layout:panel  border="false" autoHeight="true" styleClass="k4-form" >
			<w:form clientValidate="true">
				<layout:panel  border="false" autoHeight="true" autoWidth="true"
					styleClass="k4-form-toolbar">
					<w:toolBar>
						<w:button label="保存" id="saveCommonKey" image="/images/save.gif" />
						<w:separator />
						<w:button label="取消" id="addCancel" image="/images/cancel.gif"
							immediate="true" onclick="javascript:closeCenterLayoutTab('editCommonKeyTypeTab')"
							alwaysSubmit="false" />
					</w:toolBar>
				</layout:panel>
				<layout:panelGrid columns="2" cellpadding="0" cellspacing="0" border="1"
					styleClass="k4-form-grid">
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="类型编码" for="typeCode" />
						<h:inputText id="id" style="display: none;"></h:inputText>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
						<w:textField styleClass="k4-form-textfield" id="typeCode" allowBlank="false" required="true"
							requiredTrim="true"></w:textField>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="类型名称" for="typeName" />
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
					    <w:textField styleClass="k4-form-textfield" id="typeName" allowBlank="false" required="true"
							requiredTrim="true"></w:textField> 
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="所属模块" for="module" />
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
						<w:textField styleClass="k4-form-textfield" id="module" allowBlank="false" required="true"
							requiredTrim="true"></w:textField> 
					</layout:cell> 
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="是否有层级" for="isLay" />
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
						<w:combo styleClass="k4-form-textfield" id="isLay" allowBlank="false" required="true"
							editable="false"> 
						</w:combo>
					</layout:cell> 
				</layout:panelGrid>
			</w:form>
		</layout:panel>
	</w:page>
</f:view>